package com.pactera.mavenweb.service;

import java.util.List;

import com.pactera.mavenweb.entity.Role;

/**
 * RoleService
 * @author SteveXIE
 *
 */
public interface RoleService {
	/**
	 * 批量保存
	 * @param Role
	 * @return
	 */
	int saveRoles(List<Role> roles);
	
	public Role getRole(int id);
	
	public List<Role> getAllRole();
	
	public void addRole(Role role);
	
	public boolean delRole(String id);
	
	public void updateRole(Role role);
}